package algorithm;

public class Point {
    private int x, y;
    private int value;
    private String stepString;
    private int insertPos;
    public Point() {

    }

    
    public int getInsertPos() {
        return insertPos;
    }


    public void setInsertPos(int insertPos) {
        this.insertPos = insertPos;
    }


    public String getStepString() {
        return stepString;
    }

    public void setStepString(String stepString) {
        this.stepString = stepString;
    }

    public Point(int x, int y) {
	this.x = x;
	this.y = y;
    }
    public Point(int x, int y, int value){
	this.x = x;
	this.y = y;
	this.value = value;
    }
    public Point(int x, int y, int value, String stepString){
	this.x = x;
	this.y = y;
	this.value = value;
	this.stepString = stepString;
    }
    public Point(int x, int y, int value, int insertPos,String stepString){
	this.x = x;
	this.y = y;
	this.value = value;
	this.stepString = stepString;
	this.insertPos = insertPos;
    }
    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    

    public void setX(int x) {
	this.x = x;
    }

    public void setY(int y) {
	this.y = y;
    }

    public int getX() {
	return x;
    }

    public int getY() {
	return y;
    }
}
